<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<div id="head" class="row-fluid clearfix">
	<div class="title span7">
		<h1>iris key manager</h1>
	</div>
	<div class="date span4">

		<s:url var="signOutUrl" action="signOut" namespace="/" />
		<s:a href="%{#signOutUrl}" title="%{#session.SESSION_USER.name}">
			<s:text name="global.user.signout" />
		</s:a>
		|
		<s:include value="/WEB-INF/content/common/date-time.jsp"></s:include>
		
		<s:url var="changePasswordUrl" action="changeFrame" namespace="/password">
			<s:param name="systemUser.email" value="%{systemUser.email}" />
		</s:url>
			<s:if test="getSessionUserVariable().getStatus()!=2">
				<s:a href="%{#changePasswordUrl}">
					<img src="<s:url value='/img/passwordChange.png' includeParams='none'/>" />
				</s:a>
			</s:if>
			
		<br />
		
		<div>
			<s:url var="changePasswordUrl" action="changeFrame" namespace="/password">
				<s:param name="systemUser.email" value="%{systemUser.email}" />
			</s:url>
			<s:if test="getSessionUserVariable().getStatus()==2">
				<img src="<s:url value='/img/changePasswordAlert.png' includeParams='none'/>" />
				<s:a href="%{#changePasswordUrl}" cssStyle="color:red">
					<s:text name="global.user.alert" />
					
				</s:a>
			</s:if>
		</div>

	</div>
</div>